function changeBodyBg(e){document.body.style.background=e}function changeHeadingBg(e){document.getElementById("topbar").style.background=e,document.getElementById("hmenu").style.background=e,document.getElementById("ic1").style.background=e,document.getElementById("ic2").style.background=e,document.getElementById("ic3").style.background=e,document.getElementById("ic4").style.background=e,document.getElementById("ic5").style.background=e,document.getElementById("ic6").style.background=e,document.getElementById("ic7").style.background=e,document.getElementById("ic8").style.background=e,document.getElementById("tb1").style.background=e,document.getElementById("tb2").style.background=e,document.getElementById("tb3").style.background=e,document.getElementById("tb4").style.background=e,document.getElementById("tb5").style.background=e,document.getElementById("bt1").style.background=e,document.getElementById("ic9").style.background=e,document.getElementById("ic10").style.background=e,document.getElementById("ic11").style.background=e,document.getElementById("ic12").style.background=e,document.getElementById("latestnews").style.background=e,document.getElementById("footer").style.background=e,document.getElementById("toplink").style.background=e,document.getElementById("content").style.background=e}function changeHeadingBg1(e){document.getElementById("topbar").style.background=e,document.getElementById("hmenu").style.background=e,document.getElementById("head").style.background=e,document.getElementById("latestnews").style.background=e,document.getElementById("latestnews2").style.background=e,document.getElementById("icons").style.background=e,document.getElementById("news").style.background=e,document.getElementById("lib").style.background=e,document.getElementById("lib1").style.background=e,document.getElementById("vid").style.background=e,document.getElementById("count").style.background=e,document.getElementById("ic1").style.background=e,document.getElementById("ic2").style.background=e,document.getElementById("ic3").style.background=e,document.getElementById("ic4").style.background=e,document.getElementById("ic5").style.background=e,document.getElementById("ic6").style.background=e,document.getElementById("ic7").style.background=e,document.getElementById("ic8").style.background=e,document.getElementById("tb1").style.background=e,document.getElementById("tb2").style.background=e,document.getElementById("tb3").style.background=e,document.getElementById("tb4").style.background=e,document.getElementById("tb5").style.background=e,document.getElementById("ic9").style.background=e,document.getElementById("ic10").style.background=e,document.getElementById("ic11").style.background=e,document.getElementById("ic12").style.background=e,document.getElementById("toplink").style.background=e,document.getElementById("bt1").style.background=e,document.getElementById("bt2").style.background=e,document.getElementById("bt4").style.background=e,document.getElementById("bt4").style.background=e,document.getElementById("bt5").style.background=e,document.getElementById("slide").style.background=e,document.getElementById("footer").style.background=e,document.getElementById("tb6").style.background=e}function changeHeadingBg2(e){document.getElementById("topbar").style.background=e,document.getElementById("hmenu").style.background=e,document.getElementById("head").style.background=e,document.getElementById("latestnews").style.background=e,document.getElementById("latestnews1").style.background=e,document.getElementById("latestnews2").style.background=e,document.getElementById("content").style.background=e,document.getElementById("content1").style.background=e,document.getElementById("footer").style.background=e,document.getElementById("toplink").style.background=e,document.getElementById("bt1").style.background=e}function contrastBg(e){document.getElementById("topbar").style.background=color,document.getElementById("navigation_bar").style.background=color,document.getElementById("latestnews").style.background=color,document.getElementById("toplink").style.background=color,document.getElementById("content").style.background=color,document.getElementById("cont").style.background=color,document.getElementById("footer").style.background=color}function toggle_visibility(e){var t=document.getElementById(e);"block"==t.style.display?t.style.display="none":t.style.display="block"}function toggle_disibility(e){var t=document.getElementById(e);"none"==t.style.display?t.style.display="block":t.style.display="none"}function mybody(e){var t=document.getElementById("boxed");if(t.classList)t.classList.toggle("site_boxed");else{var i=t.className.split(" "),o=i.indexOf("site_boxed");o>=0?i.splice(o,1):i.push("site_boxed"),t.className=i.join(" ")}}function mybodycr(e){var t=document.getElementById("boxed");if(t.classList)t.classList.toggle("bgcolor");else{var i=t.className.split(" "),o=i.indexOf("bgcolor");o>=0?i.splice(o,1):i.push("bgcolor"),t.className=i.join(" ")}}function initJumpMenus(){var e=document.getElementsByTagName("select");for(i=0;i ul > li").length;e(this).append(''+o+"")}}),e("#nav_menu").idealtheme({});var o=e(".image_menu_slide"),a=e("body").hasClass("header_on_side")?1:4,s=e("body").hasClass("header_on_side")?1:5;o.owlCarousel({direction:i,autoPlay:3e3,navigation:!0,stopOnHover:!0,itemsCustom:[[0,2],[479,3],[768,3],[979,a],[1199,s]],itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,navigationText:["",""]}),e(".has_sub_img").owlCarousel({direction:i,singleItem:!0,autoPlay:3e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,autoHeight:!1,stopOnHover:!0,navigation:!0,navigationText:["",""]}),e(".welcome_banner_slider").owlCarousel({direction:i,slideSpeed:400,autoPlay:3e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,autoHeight:!0,items:1,stopOnHover:!0,navigation:!0,navigationText:["",""],pagination:!1}),"ltr"==i?e(".png_slider").owlCarousel({direction:i,slideSpeed:900,autoPlay:3e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,autoHeight:!0,items:1,stopOnHover:!0,navigation:!0,navigationText:["",""],pagination:!0,transitionStyle:"backSlide"}):e(".png_slider").owlCarousel({direction:i,slideSpeed:900,autoPlay:3e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,autoHeight:!0,items:1,stopOnHover:!0,navigation:!0,navigationText:["",""],pagination:!0}),e(".normal_text_slider").owlCarousel({direction:i,slideSpeed:900,autoPlay:3e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,autoHeight:!0,items:1,stopOnHover:!0,navigation:!0,navigationText:["",""],pagination:!1}),e(".our_client_slider").owlCarousel({direction:i,slideSpeed:1e3,autoPlay:4e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,itemsCustom:[[360,2],[450,2],[786,3],[1200,5]],stopOnHover:!0,navigation:!0,navigationText:["",""],pagination:!1});var l=e(".hm_new_bar_slider");l.owlCarousel({direction:i,loop:!0,autoWidth:!0,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,itemsCustom:[[0,1],[450,2],[786,3],[1200,4],[1600,5]],slideSpeed:2e3,autoPlay:2e3,stopOnHover:!0}),e(".hm_new_bar_controll_btn").on("click",function(t){t.preventDefault(),e(this).hasClass("pause")?(e(this).removeClass("pause").addClass("play"),l.trigger("owl.play",2e3)):(e(this).removeClass("play").addClass("pause"),l.trigger("owl.stop",2e3))});var r=4;e("body").hasClass("site_boxed")&&e("body").hasClass("header_on_side")&&(r=3),e(".shop_slider").owlCarousel({direction:i,slideSpeed:1e3,autoPlay:4e3,autoHeight:!0,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,itemsCustom:[[0,1],[450,2],[786,3],[1200,r],[1600,5]],stopOnHover:!0,navigation:!0,navigationText:["",""],pagination:!1}),"ltr"==i?e(".sidebar_slider").owlCarousel({direction:i,slideSpeed:900,autoPlay:4e3,items:1,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,stopOnHover:!0,navigation:!0,navigationText:["",""],pagination:!0,transitionStyle:"backSlide"}):e(".sidebar_slider").owlCarousel({direction:i,slideSpeed:900,autoPlay:4e3,items:1,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,stopOnHover:!0,navigation:!0,navigationText:["",""],pagination:!0}),e(".featured_slider").owlCarousel({direction:i,slideSpeed:900,autoPlay:4e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,itemsCustom:[[0,1],[450,2],[786,3],[1e3,4],[1200,5]],autoHeight:!0,stopOnHover:!0,navigation:!0,navigationText:["",""],pagination:!0}),e(".thumbs_gall_slider_con").each(function(t,o){var a=e(this),n=e(a).find(".thumbs_gall_slider_larg"),s=e(a).find(".gall_thumbs");e(n).attr("data-transition");function l(t){var i=this.currentItem;e(s).find(".owl-item").removeClass("current_thumb").eq(i).addClass("current_thumb"),void 0!==e(s).data("owlCarousel")&&function(e){var t=s.data("owlCarousel").owl.visibleItems,i=e,o=!1;for(var a in t)i===t[a]&&(o=!0);!1===o?i>t[t.length-1]?s.trigger("owl.goTo",i-t.length+2):(i-1==-1&&(i=0),s.trigger("owl.goTo",i)):i===t[t.length-1]?s.trigger("owl.goTo",t[1]):i===t[0]&&s.trigger("owl.goTo",i-1)}(i)}n.owlCarousel({direction:i,items:1,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,slideSpeed:1e3,autoPlay:4e3,autoHeight:!0,navigation:!0,navigationText:["",""],pagination:!1,afterAction:l,responsiveRefreshRate:200}),a.hasClass("gall_full_width")?s.owlCarousel({direction:i,items:9,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,pagination:!1,afterInit:function(e){e.find(".owl-item").eq(0).addClass("current_thumb")}}):a.hasClass("content_thumbs_gall")?s.owlCarousel({direction:i,items:6,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,pagination:!1,afterInit:function(e){e.find(".owl-item").eq(0).addClass("current_thumb")}}):s.owlCarousel({direction:i,items:4,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,pagination:!1,responsiveRefreshRate:100,afterInit:function(e){e.find(".owl-item").eq(0).addClass("current_thumb")}}),e(s).on("click",".owl-item",function(t){t.preventDefault();var i=e(this).data("owlItem");n.trigger("owl.goTo",i)})});e(".content_slider").hasClass("our_team_section");e(".content_slider").owlCarousel({direction:i,slideSpeed:800,autoPlay:4e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,autoHeight:!0,itemsCustom:[[0,1],[450,1],[786,1],[1e3,1],[1200,1]],stopOnHover:!0,navigation:!1,pagination:!0}),e(".porto_galla").owlCarousel({direction:i,slideSpeed:900,autoPlay:3e3,autoHeight:!1,items:1,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,stopOnHover:!0,navigation:!0,pagination:!0,navigationText:["",""]}),e(".related_posts_con").owlCarousel({direction:i,slideSpeed:900,autoPlay:3e3,autoHeight:!0,itemsCustom:[[0,1],[450,2],[600,2],[700,3],[1e3,3],[1200,4],[1400,4],[1600,5]],itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,stopOnHover:!0,navigation:!0,pagination:!0,navigationText:["",""]}),e(".related_slider_widget").owlCarousel({direction:i,slideSpeed:900,autoPlay:3e3,autoHeight:!0,items:1,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,stopOnHover:!0,navigation:!0,pagination:!0,navigationText:["",""]}),"ltr"==i?e(".feature_icon_slider").owlCarousel({direction:i,slideSpeed:900,autoPlay:3e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,autoHeight:!0,items:1,stopOnHover:!0,pagination:!0,transitionStyle:"goDown"}):e(".feature_icon_slider").owlCarousel({direction:i,slideSpeed:900,autoPlay:3e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,autoHeight:!0,items:1,stopOnHover:!0,pagination:!0});var d=e("#dream_owl_slider");function c(e){var t=e.data("owlCarousel");e.find(".owl-item.active .owl_slider_con > span").length,e.find(".owl-item.active .owl_slider_con > span");t?(e.find(".owl-item").eq(t.currentItem).addClass("active").siblings().removeClass("active"),e.find(".owl-item:not(.active) .owl_slider_con > span").removeClass("transform_owl"),e.find(".owl-item.active .owl_slider_con > span").each(function(t,i){setTimeout(function(){e.find(".owl-item.active .owl_slider_con > span").eq(t).addClass("transform_owl")},200*(t+1))})):(e.find(".owl-item").eq(0).addClass("active").siblings().removeClass("active"),e.find(".owl-item.active .owl_slider_con > span").each(function(t,i){setTimeout(function(){e.find(".owl-item.active .owl_slider_con > span").eq(t).addClass("transform_owl")},200*(t+1))}))}if("ltr"==i?d.owlCarousel({direction:i,slideSpeed:900,autoPlay:3e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,autoHeight:!0,items:1,afterAction:c,stopOnHover:!0,navigation:!0,navigationText:["",""],pagination:!0,transitionStyle:"fadeUp"}):d.owlCarousel({direction:i,slideSpeed:900,autoPlay:3e3,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsTabletSmall:!1,itemsMobile:!1,autoHeight:!0,items:1,afterAction:c,stopOnHover:!0,navigation:!0,navigationText:["",""],pagination:!0}),e(".tree_features li").each(function(t,i){var o=e(this).attr("data-bgcolor");e(this).append(""),e(this).css({"background-color":o}),e(this).find(".tree_curv").css({"background-color":o})}),"undefined"!=typeof BoxesFx&&e.isFunction(BoxesFx))new BoxesFx(document.getElementById("boxgallery"));if("undefined"!=typeof SliderFx&&e.isFunction(SliderFx)){new SliderFx(document.getElementById("wobbly_slide"),{easing:"cubic-bezier(.8,0,.2,1)"});e("#wobbly_slide").addClass("wobbly_slide_con"),e(".wobbly_slide_con").each(function(){var t=e(this).find("nav .prev"),i=e(this).find("nav .next"),o=0,a=!1,n=e(this).children("ul").find("li").length;setInterval(function(){o==n&&(a=!0),1==o&&(a=!1),a&&(o-=1,t.click()),a||(o+=1,i.click())},5e3)})}if("undefined"!=typeof Photostack&&e.isFunction(Photostack))new Photostack(document.getElementById("photostack-1"),{callback:function(e){}}),new Photostack(document.getElementById("photostack-2"),{callback:function(e){}}),new Photostack(document.getElementById("photostack-3"),{callback:function(e){}});if(e.isFunction(e.fn.camera)&&(e("#camera_wrap_1").each(function(){e(this).camera({thumbnails:!0})}),e("#camera_wrap_2").each(function(){e(this).camera({height:"550px",loader:"bar",loaderColor:"#1CCDCA",loaderBgColor:"none",loaderOpacity:.7,loaderPadding:0,loaderStroke:5,pagination:!1,thumbnails:!0})})),e.isFunction(e.fn.flexslider)){var u=120;u=n()>=1024?120:n()>=766?100:n()>=478?80:50,e("#flex_thumbs").flexslider({animation:"slide",controlNav:!0,directionNav:!1,animationLoop:!0,easing:"easeInOutExpo",useCSS:!1,slideshow:!1,itemWidth:u,itemMargin:0,slideshowSpeed:4e3,animationSpeed:800,pauseOnHover:!0,asNavFor:"#flex_carousel"}).flexsliderManualDirectionControls({previousElementSelector:".flex_previous",nextElementSelector:".flex_next",disabledStateClassName:"flex_disabled"}),e("#flex_carousel").flexslider({animation:"slide",controlNav:!0,directionNav:!1,direction:"horizontal",animationLoop:!0,slideshow:!0,easing:"easeInOutExpo",useCSS:!1,slideshowSpeed:6e3,animationSpeed:800,pauseOnHover:!0,sync:"#flex_thumbs",start:function(e){}}).flexsliderManualDirectionControls({previousElementSelector:".flex_previous",nextElementSelector:".flex_next",disabledStateClassName:"flex_disabled"}),e(".flex_in_flex").flexslider({animation:"fade",controlNav:!0,selector:".flex_in_slides > li",directionNav:!1,direction:"horizontal",animationLoop:!0,slideshow:!0,easing:"swing",slideshowSpeed:3e3,animationSpeed:800,pauseOnHover:!1})}var m=e(".hm_go_top");e(window).scroll(function(){return e(this).scrollTop()>300?m.addClass("hm_go_is-visible"):m.removeClass("hm_go_is-visible hm_go_fade-out"),e(this).scrollTop()>1200&&m.addClass("hm_go_fade-out"),!1}),m.on("click",function(t){t.preventDefault(),e("body,html").animate({scrollTop:0},{queue:!1,duration:900,easing:"easeInOutExpo"})}),e(window).scroll(function(){e(this).scrollTop()>30&&e("body").hasClass("site_boxed")&&e("body").hasClass("header_on_side")?e("#side_heder").addClass("start_side_offset"):e("#side_heder").removeClass("start_side_offset")}),navigator.userAgent.match(/(iPad|iPhone|iPod)/g),e(".content_section:not(.bg_gray)").each(function(t,i){var o="",a=e(this).css("backgroundColor").match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(null!==a){delete a[0];for(var n=1;n<=3;++n)a[n]=parseInt(a[n]).toString(16),1==a[n].length&&(a[n]="0"+a[n]);o="#"+a.join(""),e(this).find(".main_title .line i").css({"background-color":o}),e(this).find(".main_title .line .dot").css({"background-color":o})}}),e("[data-dialog]").each(function(e,t){var i=t,o=document.getElementById(i.getAttribute("data-dialog")),a=new DialogFx(o);i.addEventListener("click",a.toggle.bind(a))}),e.isFunction(e.fn.magnificPopup)&&(e(".expand_image").each(function(t,i){e(this).click(function(){return e(this).parent().siblings("a").click(),e(this).parent().siblings(".porto_galla").find("a:first").click(),e(this).parent().siblings(".embed-container").find("a").click(),!1})}),e(".featured_slide_block").each(function(t,i){var o=e(this);e(this).find("a.expand_img").click(function(){return o.find("a:first").click(),!1})}),e(".porto_block").each(function(t,i){var o=e(this),a=e(this).find("a.expand_img"),n=e(this).find("a.icon_expand");a.click(function(){return o.find("a:first").click(),!1}),n.click(function(){return o.find("a:first").click(),!1})}),e(".magnific-popup, a[data-rel^='magnific-popup']").magnificPopup({type:"image",mainClass:"mfp-with-zoom",zoom:{enabled:!0,duration:300,easing:"ease-in-out",opener:function(e){return e.is("img")?e:e.find("img")}}}),e(".magnific-gallery, .thumbs_gall_slider_larg, .porto_galla").magnificPopup({delegate:"a",type:"image",gallery:{enabled:!0},removalDelay:500,callbacks:{beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim"),this.st.mainClass="mfp-zoom-in"}},closeOnContentClick:!0,midClick:!0,retina:{ratio:1,replaceSrc:function(e,t){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})}}}),e(".popup-youtube, .popup-vimeo, .popup-gmaps, .vid_con").magnificPopup({disableOn:700,type:"iframe",mainClass:"mfp-fade",removalDelay:160,preloader:!1,fixedContentPos:!1}),e(".ajax-popup-link").magnificPopup({type:"ajax",removalDelay:500,mainClass:"mfp-fade",callbacks:{beforeOpen:function(){this.st.mainClass="mfp-fade hm_script_loaded"},parseAjax:function(e){},ajaxContentAdded:function(){e(".ajax_content_container").on("click",function(t){e(t.target).hasClass("mfp-close")||t.stopPropagation()}),e.getScript("js/functions.js",function(t,i,o){e(".hm_script_loaded .ajax_content_container").css({opacity:"1"})})}}}),e(".popup-with-zoom-anim").magnificPopup({type:"inline",fixedContentPos:!1,fixedBgPos:!0,overflowY:"auto",closeBtnInside:!0,preloader:!1,midClick:!0,removalDelay:300,mainClass:"my-mfp-zoom-in"}),e(".popup-with-move-anim").magnificPopup({type:"inline",fixedContentPos:!1,fixedBgPos:!0,overflowY:"auto",closeBtnInside:!0,preloader:!1,midClick:!0,removalDelay:300,mainClass:"my-mfp-slide-bottom"}));h();function h(){return document.documentElement.clientWidth||document.body.clientWidth||window.innerWidth}function p(){e(".col-md-4 .google_map, .col-md-6 .google_map, .col-md-3 .google_map, .col-md-9 .google_map").each(function(t,i){var o=e(this).innerWidth();e(this).height(o/2)})}function f(){e(".hm-tabs").each(function(t){var i=e(this),o=i.width(),a=0;i.find(".tabs-navi > li").each(function(t,i){var o=e(this).outerWidth();a+=o}),a>=o?i.addClass("tabs_mobile"):i.removeClass("tabs_mobile")}),e(".sort_options").each(function(t){var i=e(this),o=i.width(),a=0;i.find("#filter-by > li").each(function(t,i){var o=e(this).outerWidth();a+=o}),a>=o?i.addClass("filter_by_mobile"):i.removeClass("filter_by_mobile")})}e(window).resize(function(){h(),p()}),e.isFunction(e.fn.mediaelementplayer)&&(e("audio.hosted_audio").mediaelementplayer(),e("video.hosted_video").mediaelementplayer({alwaysShowControls:!0})),p(),e(".google_map").each(function(t,i){var o,a=e(this).attr("data-lat"),n=e(this).attr("data-long"),s=e(this).attr("data-main"),l=e(this).attr("data-text"),r=[],d=[],c=[],u=e(this).find(".location").length;e(this).find(".location").each(function(t){var i=e(this).attr("data-lat"),o=e(this).attr("data-long"),a=e(this).attr("data-text");c.push(a),r=[i,o],d.push(r)}),"undefined"!=typeof GMaps&&(o=new GMaps({el:i,scrollwheel:!1,lat:a,lng:n,zoom:15}),0!==u&&"yes"!=s||o.addMarker({zoom:15,lat:a,lng:n,icon:"images/map2.png",infoWindow:{content:l}}),u>0&&o.getElevations({locations:d,callback:function(e,t){if(t==google.maps.ElevationStatus.OK)for(var i in e)e.hasOwnProperty(i)&&o.addMarker({lat:e[i].location.lat(),lng:e[i].location.lng(),icon:"images/map.png",infoWindow:{content:c[i]}})}}))}),e(".google_map").each(function(t){var i="map"+(t+1);e(this).attr("id",i)}),e(".porto_full_desc .hm_filter_wrapper_con > .filter_item_block ").each(function(){e(this).hoverdir({hoverElem:".porto_desc"})}),e(".has_hoverdir .featured_slide_block").each(function(){e(this).hoverdir({hoverElem:".hoverdir_con"})}),e(".counter").appear(function(){e(this).children(".value").countTo()}),e(".masonry_posts.colored_masonry .blog_grid_block").each(function(t,i){var o=e(this).data("bg");e(this).find(".blog_grid_desc, .blog_grid_format i").css({background:o})}),e("[data-progress-val]").each(function(){var t=e(this);t.appear(function(){var e=t.width(),o=t.find(".title").width(),a=t.find(".value").width(),n=e*(t.attr("data-progress-val")/100);n<=a+o&&(t.find(".fill").addClass("small_line_bar"),t.find(".value").css({opacity:0,right:-o}));var s=t.attr("data-progress-delay")?t.attr("data-progress-delay"):1,l=t.attr("data-progress-animation")?t.attr("data-progress-animation"):"easeOutBounce",r=t.attr("data-progress-color")?t.attr("data-progress-color"):"";t.find(".fill").css({background:r}),s>1&&t.css("animation-delay",s+"ms"),t.find(".fill").addClass(t.attr("data-appear-animation")),setTimeout(function(){n<=a+o&&t.find(".value").animate({opacity:1}),t.find(".fill").animate({width:t.attr("data-progress-val")+"%"},1500,l,function(){"ltr"==i?t.find(".title").animate({opacity:1,left:0},1500,l):t.find(".title").animate({opacity:1,right:0},1500,l)}),t.find(".value .num").countTo({from:0,to:t.attr("data-progress-val"),speed:1500,refreshInterval:50})},s)},{accX:0,accY:-50})}),e(".hm_circle_progressbar").each(function(i,o){var a=e(this);e(this).appear(function(){var i=e(this).attr("data-delay")?e(this).attr("data-delay"):1,n=e(this).attr("data-percentag")?e(this).attr("data-percentag"):100,s=e(this).attr("data-start-color")?e(this).attr("data-start-color"):"#1CCDCA",l=e(this).attr("data-end-color")?e(this).attr("data-end-color"):"#1CCDCA",r=e(this).attr("data-animation")?e(this).attr("data-animation"):"easeInOut",d=e(this).attr("data-event")?e(this).attr("data-event"):"";var c,u,m=new Date,h=m.getDate(),p=function(e,t){var i=new Date(e),o=new Date(t),a=(i.getTime()-o.getTime())/864e5;return Math.floor(a)}(d,m.getMonth()+1+"/"+h+"/"+m.getFullYear()),f="#666";if(f=e(this).hasClass("square")&&0!==e(this).closest(".white_section").length?"#fff":"yes"==t&&e(this).hasClass("style1")&&0!==e(this).closest(".white_section").length?"#666":"no"==t&&e(this).hasClass("style1")&&0!==e(this).closest(".white_section").length?"#666":"yes"==t||e(this).hasClass("square")||0!==e(this).closest(".white_section").length?"#fff":"#666",e(this).hasClass("path")){var g=document.getElementsByTagName("object"),_=(g.length,new ProgressBar.Path(g[0].contentDocument.querySelector(".heart-path"),{duration:2e3,easing:"easeInOut",step:function(e,t){}}));a.find(".path_val .num").countTo({from:0,to:n,speed:2e3}),_.animate(n/100)}else e(this).hasClass("square")?c=new ProgressBar.Square(o,{color:s,trailColor:"rgba(0,0,0,.07)",strokeWidth:3.5,duration:2e3,easing:r,from:{color:s,width:3.5},to:{color:l,width:3.5},text:{value:"0",color:f},step:function(e,t){t.setText((100*t.value()).toFixed(0)+" %"),t.path.setAttribute("stroke",e.color),t.path.setAttribute("stroke-width",e.width)}}):a.hasClass("seconds")?(c=new ProgressBar.Circle(o,{color:s,trailColor:"rgba(255,255,255,.1)",strokeWidth:10,trailWidth:2,duration:200,easing:r,from:{color:s,width:2},to:{color:l,width:2},text:{value:" ",color:f},step:function(e,t){t.path.setAttribute("stroke",e.color),t.path.setAttribute("stroke-width",e.width)}}),setInterval(function(){var e=(new Date).getSeconds(),t=60-e;c.animate(t/60,function(){0===e?(e=60,c.setText(t)):c.setText(t)})},1e3)):a.hasClass("minutes")?(c=new ProgressBar.Circle(o,{color:s,trailColor:"rgba(255,255,255,.1)",strokeWidth:10,trailWidth:2,duration:800,easing:r,from:{color:s,width:2},to:{color:l,width:2},text:{value:" ",color:f},step:function(e,t){t.path.setAttribute("stroke",e.color),t.path.setAttribute("stroke-width",e.width)}}),u=0,setInterval(function(){var e=(new Date).getMinutes(),t=60-e,i=a.find(".progressbar-text");0===u&&i.countTo({from:0,to:t,speed:800}),u=1,c.animate(t/60,function(){0===e?(e=60,c.setText(t)):c.setText(t)})},1e3)):a.hasClass("hours")?(c=new ProgressBar.Circle(o,{color:s,trailColor:"rgba(255,255,255,.1)",strokeWidth:10,trailWidth:2,duration:800,easing:r,from:{color:s,width:2},to:{color:l,width:2},text:{value:" ",color:f},step:function(e,t){t.path.setAttribute("stroke",e.color),t.path.setAttribute("stroke-width",e.width)}}),u=0,setInterval(function(){var e=(new Date).getHours(),t=24-e,i=a.find(".progressbar-text");0===u&&i.countTo({from:0,to:t,speed:800}),u=1,c.animate(t/24,function(){0===e?(e=24,c.setText(t)):c.setText(t)})},1e3)):a.hasClass("days")?(c=new ProgressBar.Circle(o,{color:s,trailColor:"rgba(255,255,255,.1)",strokeWidth:10,trailWidth:2,duration:800,easing:r,from:{color:s,width:2},to:{color:l,width:2},text:{value:"0",color:f},step:function(e,t){t.path.setAttribute("stroke",e.color),t.path.setAttribute("stroke-width",e.width)}}),u=0,setInterval(function(){var e=a.find(".progressbar-text");0===u&&e.countTo({from:0,to:p,speed:800}),u=1,c.animate(p/365,function(){c.setText(p)})},1e3)):c=new ProgressBar.Circle(o,{color:s,trailColor:"rgba(0,0,0,.07)",strokeWidth:10,trailWidth:3,duration:2e3,easing:r,from:{color:s,width:3},to:{color:l,width:3},text:{value:"0",color:f},step:function(e,t){t.setText((100*t.value()).toFixed(0)+" %"),t.path.setAttribute("stroke",e.color),t.path.setAttribute("stroke-width",e.width)}});setTimeout(function(){a.animate({opacity:1},1e3),a.find(".progressbar-text").animate({opacity:1},i),a.hasClass("path")||a.hasClass("seconds")||a.hasClass("minutes")||a.hasClass("hours")||a.hasClass("days")||c.animate(n/100,function(){})},i)})}),e(".team_block3").each(function(){var t=0;e(".team-col").each(function(i){var o=e(this).attr("data-color");3!=(t+=1)&&4!=t||e(this).addClass("team_col_on_right"),4==t&&(t=0),void 0!==o&&!1!==o&&(e(this).css({background:o}),e(this).find(".arrow").css({background:o}))})}),e.isFunction(e.fn.YTPlayer)&&e(".youtube_bg_video").each(function(t,i){var o=e(this),a=o.parent().find(".play_video_btn");o.YTPlayer(),e(a).on("click",function(e){e.preventDefault(),a.hasClass("play_video")?(a.removeClass("play_video").addClass("pause_video"),a.find("i").removeClass().addClass("ico-pause2"),o.playYTP(),o.removeClass("now_pausing").addClass("now_playing")):(a.removeClass("pause_video").addClass("play_video"),a.find("i").removeClass().addClass("ico-play5"),o.pauseYTP())})}),e(".html_video_background").each(function(t,i){var o=e(this).attr("data-mp"),a=e(this).attr("data-webm"),n=e(this).attr("data-ogg"),s=e(this).attr("data-poster"),l=e(this).parent().find(".video_frame_bl");e(this).parent();e(this).videobackground({videoSource:[[o,"video/mp4"],[a,"video/webm"],[n,"video/ogg"]],controlPosition:l,poster:s,loadedCallback:function(){e(this).videobackground("mute")},loop:!0,controlText:[[''],[''],[''],['']],resizeTo:".html_video_background"})}),e(".your_rate").each(function(t,i){var o=e(this).find(".outline_stars").data("rate");e(this).find(".outline_stars").css({width:o+"%"})}),e.isFunction(e.fn.noUiSlider)&&(e("#shop_price_slider").noUiSlider({start:[200,800],step:1,snap:!1,connect:!0,range:{min:0,max:1e3},format:{to:function(e){return e+",-"},from:function(e){return e.replace(",-","")}}}),e("#shop_price_slider").Link("lower").to(e("#shop_price_slider_lower"),null,wNumb({prefix:"$"})),e("#shop_price_slider").Link("lower").to(e("#min_price"),null,wNumb({})),e("#shop_price_slider").Link("upper").to(e("#shop_price_slider_upper"),null,wNumb({prefix:"$"})),e("#shop_price_slider").Link("upper").to(e("#max_price"),null,wNumb({}))),e(".animated").appear(function(){var t=e(this),i=t.data("animation");if(!t.hasClass("visible")){var o=t.data("animation-delay");o?setTimeout(function(){t.addClass(i+" visible"),t.removeClass("hiding")},o):(t.addClass(i+" visible"),t.removeClass("hiding"))}}),e(".scroll").on("click",function(t){var i=e(this),o=e("#navigation_bar").outerHeight(),a=0;if(e(this).hasClass("reviews_navigate")){var n=e("a[data-content='reviews']");e(n).click()}e(this).hasClass("onepage")&&(a=o-2),e("html, body").stop().animate({scrollTop:e(i.attr("href")).offset().top-a+"px"},1200,"easeInOutExpo"),t.preventDefault()}),e(".quantity_controll").on("click",function(){var t,i=e(this),o=i.siblings(".input-text").val();t=i.hasClass("plus")?parseFloat(o)+1:o>1?parseFloat(o)-1:1,i.siblings(".input-text").val(t)}),e(".comment-form-rating .stars a").on("click",function(){var t=e(this).attr("data-rate");return e(this).addClass("active").siblings().removeClass("active"),e("select#rating").val(t),!1}),e("a.remove").on("click",function(){return e(this).closest("tr").fadeOut(),!1}),e(window).resize(function(){f()}),f(),e(".hm-tabs").each(function(t){var i=e(this),o=(i.width(),i.find(".tabs-navi a")),a=i.find(".tabs-body");function n(e){var t=parseInt(e.children(".tabs-navi").width()),i=parseInt(e.width());e.scrollLeft()>=t-i?e.parent(".hm-tabs").addClass("is-ended"):e.parent(".hm-tabs").removeClass("is-ended")}o.on("click",function(t){t.preventDefault();var i=e(this);if(0===i.parent().index()?i.parent().siblings("li").removeClass("prev_selected"):i.parent().prev().addClass("prev_selected").siblings("li").removeClass("prev_selected"),!i.hasClass("selected")){var n=i.data("content"),s=a.find('li[data-content="'+n+'"]'),l=s.innerHeight();o.removeClass("selected"),i.addClass("selected"),s.addClass("selected").siblings("li").removeClass("selected"),a.animate({height:l},200)}}),n(e(".hm-tabs nav")),e(window).on("resize",function(){n(e(".hm-tabs nav")),a.css("height","auto")}),e(".hm-tabs nav").on("scroll",function(){n(e(this))})}),e(function(){e(window).load(function(){e(".hm_filter_wrapper").each(function(t,i){var o=e(this),a=o.find("#filter-by"),s=o.find(".hm_filter_wrapper_con"),l=o.hasClass("masonry_porto")?1:0;o.find("#filter-by li a").each(function(t,i){var a=e(this).attr("data-option-value"),n=o.find(".hm_filter_wrapper_con > "+a).length;e(this).find(".num").html(n)}),o.find(".sort_list a.sort_selecter").click(function(){return!1}),o.find(".porto_nums > span.like i").click(function(){e(this).parent().addClass("added");var t=e(this).siblings(".like_counter"),i=parseInt(e(this).siblings(".like_counter").text(),10);++i,t.html(i)}),o.find("#sort-by li a").click(function(){var t=e(this);t.closest(".sort_list").siblings("#sort-direction").css({opacity:"1"});var i=t.find(".text").text();t.closest(".sort_list").find("a.sort_selecter .text").html(i)});var r=o.find(".hm_filter_wrapper_con"),d=0;(d=n()>=1022?5:n()>=766?4:n()>=478?2:1,o.hasClass("content_filter"))?(s.find(".content_filter_item").each(function(t,i){var o=e(this),a=o.find(".dream_accordion").outerHeight();o.animate({height:a+0+"px"},300)}),a.find("li a").click(function(t){var i=e(this).attr("data-option-value");t.preventDefault(),e(this).hasClass("selected")||(a.find("li a").removeClass("selected"),e(this).addClass("selected"),s.children().not(i).each(function(t,i){var o=e(this),a=o.find(".dream_occ_container");o.animate({height:0}).addClass("content_hidden"),a.removeClass("occ_expanded"),a.find(".dream_occ_content").stop(!0,!0).animate({height:"0px"},300)}),s.children(i).each(function(t,i){var o=e(this),a=e(this).find(".dream_accordion").outerHeight()+10;o.animate({height:a+"px"}).removeClass("content_hidden")}))})):(o.hasClass("masonry_porto")?(r.isotope({itemSelector:".filter_item_block",layoutMode:"masonry",resizable:!1,masonry:{columnWidth:r.width()/d},getSortData:{name:".name",like_counter:".like_counter parseInt",number:".number parseInt",comm_counter:".comm_counter parseInt"}}),e(window).resize(function(){var e=0;e=n()>=1022?5:n()>=766?4:n()>=478?2:1,r.isotope({masonry:{columnWidth:r.width()/e}})})):r.isotope({itemSelector:".filter_item_block",layoutMode:"masonry",resizable:!1,masonry:{columnWidth:l},getSortData:{name:".name",like_counter:".like_counter parseInt",number:".number parseInt",comm_counter:".comm_counter parseInt"}}),o.find("#options .option-set").find("a").click(function(){var t=e(this);if(t.hasClass("selected"))return!1;var i=t.parents(".option-set");i.find(".selected").removeClass("selected"),t.addClass("selected");var o={},a=i.attr("data-option-key"),n=t.attr("data-option-value");return n="false"!==n&&n,o[a]=n,"layoutMode"===a&&"function"==typeof changeLayoutMode?changeLayoutMode(t,o):r.isotope(o),!1}))})})}),e(".top_add_card").on("click",function(t){var i=e(this).parent();t.preventDefault(),t.stopPropagation(),i.hasClass("active")?i.removeClass("active"):i.addClass("active"),e(".top_cart_con").fadeIn(function(){e(".top_cart_con").on("click touchstart",function(e){e.stopPropagation()}),e(document).on("click touchstart",function(t){e(".top_cart_con").fadeOut(),i.removeClass("active")})})}),e(".languages-select > span").on("click touchstart",function(t){var i=e(this).parent(),o=e(this).siblings("div");t.stopPropagation(),i.hasClass("active")?(i.removeClass("active"),o.css({opacity:0})):(i.addClass("active"),o.css({opacity:1}),o.on("click touchstart",function(e){e.stopPropagation()}),e(document).on("click touchstart",function(e){o.css({opacity:0}),i.removeClass("active")}))})}),e.fn.idealtheme=function(t){var i=n(),o={duration:300,delayOpen:0,menuType:"horizontal",position:"right",parentArrow:!0,hideClickOut:!0,submenuTrigger:"hover",backText:"Back to ",clickToltipText:"Click"};e.extend(o,t);var s=e(this),l=s.parent("#main_nav"),r=e(this).find("#navy");function d(){e(r).find(".has_mega_menu").each(function(){var t=e(this).parent("li").outerHeight();e(this).find(" > .mega_menu").css({top:t+"px",width:"100%"})})}function c(){e(".top_search").each(function(t,i){var o=e(this);o.submit(function(e){if(e.stopPropagation(),o.hasClass("small_top_search"))return o.removeClass("small_top_search"),o.addClass("large_top_search"),n()<=315&&o.siblings("#top_cart").animate({opacity:0}),o.siblings("#nav_menu:not(.mobile_menu), .logo_container").animate({opacity:0}),!1}),e(o).on("click touchstart",function(e){e.stopPropagation()}),e(document).on("click touchstart",function(e){o.hasClass("large_top_search")&&(o.removeClass("large_top_search"),o.addClass("small_top_search"),n()<=315&&o.siblings("#top_cart").animate({opacity:1}),o.siblings("#nav_menu:not(.mobile_menu), .logo_container").animate({opacity:1}))})}),n()<1190?e("#navigation_bar").find(".top_search").addClass("small_top_search"):e("#navigation_bar").find(".top_search").removeClass("small_top_search")}d(),"vertical"==o.menuType?(e(r).addClass("vertical_menu"),"right"==o.position?e(r).addClass("position_right"):e(r).addClass("position_left")):e(r).addClass("horizontal_menu"),!0===o.parentArrow&&(e(r).find("li.normal_menu li, li.has_image_menu").each(function(){e(this).children("ul").length>0&&e(this).children("a").append("")}),e(r).find("ul.mega_menu li ul li, .tab_menu_list > li").each(function(){e(this).children("ul").length>0&&e(this).children("a").append("")}));new c;e(window).resize(function(){return new c,d(),i>992&&n()<=992&&e("body").hasClass("header_on_side")&&e(r).slideUp(),i<=992&&n()>992&&e("body").hasClass("header_on_side")&&e(r).slideDown(),i<=992&&n()>992&&!e("body").hasClass("header_on_side")&&(f(),g(),h()),i>992&&n()<=992&&(p(),u(),f(),e(r).slideUp()),i=n(),!1});new function(){n()<=992||e("body").hasClass("header_on_side")?(p(),u(),f()):(f(),g(),h())};function u(){e(".nav_trigger").removeClass("nav-is-visible"),e(r).find("li, a").unbind(),e(s).hasClass("mobile_menu")&&e(s).find("li.normal_menu").each(function(){e(this).children("ul").length>0&&e(this).children("a").not(":has(.parent_arrow)").append("")}),m(),e(r).find("li:not(.has-children):not(.go-back)").each(function(){if(e(this).removeClass("opened_menu"),e(this).children("ul").length>0){var t=e(this);e(this).children("a").on("click",function(i){var a=e(this);return e(this).parent().hasClass("opened_menu")?(e(this).parent().removeClass("opened_menu"),e(this).siblings("ul").slideUp(o.duration),!t.hasClass("mobile_menu_toggle")&&!t.hasClass("tab_menu_item")&&void 0):(e(this).parent().addClass("opened_menu"),e(this).parent().siblings("li").removeClass("opened_menu"),e(this).parent().hasClass("tab_menu_item")&&(e(this).parent().addClass("active"),e(this).parent().siblings("li").removeClass("active")),e(this).siblings("ul").slideDown(o.duration),e(this).parent("li").siblings("li").children("ul").slideUp(o.duration),setTimeout(function(){a.offset().top;e("body,html").animate({},{queue:!1,duration:900,easing:"easeInOutExpo"})},o.duration),!1)})}})}function m(){e(r).find("li.has_mega_menu ul").removeClass("moves-out"),e(r).find(".go-back, .mega_toltip").remove(),e(r).find("li.has_mega_menu > ul").hover(function(){e(this).find(".mega_menu_in ul").each(function(t,i){var o=e(this),a=0;o.children("li").each(function(t,i){var o=e(this).innerHeight();a+=o}),o.attr("data-height",a)})}),e(r).find("ul.mega_menu li li").each(function(t,i){var o=e(this);o.children("ul").length>0&&(o.addClass("has-children"),o.children("ul").addClass("is-hidden"))}),e(r).find("ul.mega_menu li.has-children").children("ul").each(function(t,i){var a=e(this),n=0;a.children("li").each(function(t,i){var o=e(this).innerHeight();n+=o}),a.attr("data-height",n);var s=a.parent("li").children("a"),l=a.parent("li").children("a").text();e(""+o.clickToltipText+"").prependTo(s),s.find(".go-back").length||e("
  • "+o.backText+l+"
  • ").prependTo(a)}),e(r).find("ul.mega_menu li.has-children").children("a").on("click",function(t){t.preventDefault();var i=e(this);if(i.next("ul").hasClass("is-hidden")){var a=parseInt(i.next("ul").attr("data-height"))+parseInt(i.innerHeight());i.addClass("selected").next("ul").removeClass("is-hidden").end().parent(".has-children").parent("ul").addClass("moves-out"),i.closest(".mega_menu_in").animate({height:a}),i.parent(".has-children").siblings(".has-children").children("ul").addClass("is-hidden").end().children("a").removeClass("selected"),i.closest("#nav_menu").hasClass("mobile_menu")&&i.parent(".has-children").removeClass("mega_parent_hidden").prevAll("li").slideUp(o.duration)}}),e(".go-back").on("click",function(){var t=parseInt(e(this).parent("ul").parent("li").parent("ul").attr("data-height"));return e(this).parent("ul").addClass("is-hidden").parent(".has-children").parent("ul").removeClass("moves-out"),e(this).closest(".mega_menu_in").animate({height:t}),e(this).closest("#nav_menu").hasClass("mobile_menu")&&e(this).parent("ul").parent("li").removeClass("mega_parent_hidden").prevAll("li").slideDown(o.duration),!1})}function h(){e(r).children("li").children("ul").hide(0),e(r).find("li, a").unbind(),e(r).slideDown(o.duration),e(r).find("ul.tab_menu_list").each(function(t,i){var a=e(this).children("li").children("a");e(""+o.clickToltipText+"").prependTo(a),e(this).children("li").on("mouseover",function(){e(this).hasClass("active")||(e(this).children("ul").stop().fadeIn(),e(this).siblings().children("ul").stop().fadeOut(),e(this).addClass("active"),e(this).siblings().removeClass("active"))})}),m(),e(r).find("li.normal_menu, > li").hover(function(){e(this).children("a");e(this).children("ul").stop().fadeIn(o.duration)},function(){e(this).children("ul").stop().fadeOut(o.duration)})}function p(){e(s).find(".nav_trigger").unbind(),e(s).addClass("mobile_menu"),l.addClass("has_mobile_menu"),e(s).find(".nav_trigger").each(function(t,i){e(this).on("click touchstart",function(t){t.preventDefault(),e(this).hasClass("nav-is-visible")?(e(this).removeClass("nav-is-visible"),e(r).slideUp(o.duration)):(e(this).addClass("nav-is-visible"),e(r).slideDown(o.duration,function(){}))})})}function f(){function t(){return e(this).outerHeight()}e.fn.sandbox=function(i){var o=e(this).clone();o.css({visibility:"hidden",display:"block"}).insertAfter(this),o.attr("style",o.attr("style").replace("block","block !important"));var a=Math.max.apply(Math,e(o).find("ul:not(.image_menu)").map(t));return i.apply(o),o.remove(),a},e(".tab_menu").each(function(){if(e(this).css({height:"inherit"}),!e(s).hasClass("mobile_menu")){var t=e(this).sandbox(function(){return this.height()});e(this).height(t)}})}function g(){e(s).removeClass("mobile_menu"),l.removeClass("has_mobile_menu")}f(),a()};var t="";function i(){t="",t=n()<=992?"":"#site_header"}function o(t){e(".dream_accordion").each(function(t,i){var o=e(this).attr("data-type"),a=e(this).find(".dream_occ_container");a.length;a.each(function(t,i){var a=e(this),n=e(this).find(".dream_occ_title"),s=e(this).find(".dream_occ_title").outerHeight(),l=a.attr("data-expanded"),r=e(this).find(".dream_occ_content"),d=r.find(".acc_content").outerHeight();"true"==l&&(a.addClass("occ_expanded"),r.stop(!0,!0).animate({height:d+"px"},300)),n.unbind(),n.click(function(e){a.hasClass("occ_expanded")?(a.removeClass("occ_expanded"),r.stop(!0,!0).animate({height:"0px"},300),r.closest(".content_filter_item").stop(!0,!0).animate({height:s+10+"px"},300)):(a.addClass("occ_expanded"),r.stop(!0,!0).animate({height:d+"px"},300),r.closest(".content_filter_item").stop(!0,!0).animate({height:d+s+10+"px"},300),"accordion"==o&&(a.siblings().removeClass("occ_expanded"),a.siblings().find(".dream_occ_content").stop(!0,!0).animate({height:"0px"},300)))})})})}function a(){if(e.isFunction(e.fn.sticky)){var t=e("#navigation_bar");t.unstick();var i=t.find(".mobile_menu").length,o=e(".header_on_side").length;0===i&&0===o?t.sticky({topSpacing:0,className:"sticky_menu",getWidthFrom:"body"}):t.unstick()}}function n(){return document.documentElement.clientWidth||document.body.clientWidth||window.innerWidth}i(),o(),e(window).on("resize",function(){i(),o(),a()}),e.isFunction(e.fn.revolution)&&(e(".tp-banner-fullscreen").show().revolution({dottedOverlay:"none",delay:16e3,startwidth:1170,startheight:700,hideThumbs:200,hideTimerBar:"on",thumbWidth:100,thumbHeight:50,thumbAmount:5,spinned:"spinner4",navigationType:"bullet",navigationArrows:"solo",navigationStyle:"preview4",touchenabled:"on",onHoverStop:"on",lazyLoad:"on",swipe_velocity:.7,swipe_min_touches:1,swipe_max_touches:1,drag_block_vertical:!1,parallax:"scroll",parallaxBgFreeze:"on",parallaxLevels:[10,20,30,40,50,60,70,80,90,100],keyboardNavigation:"off",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,shadow:0,fullWidth:"off",fullScreen:"on",spinner:"spinner4",stopLoop:"off",stopAfterLoops:-1,stopAtSlide:-1,shuffle:"off",autoHeight:"off",forceFullWidth:"off",hideThumbsOnMobile:"off",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResolution:0,hideSliderAtLimit:0,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,startWithSlide:0,fullScreenOffsetContainer:t}),e(".tp-banner-fullwidth").show().revolution({dottedOverlay:"none",delay:16e3,startwidth:1170,startheight:700,hideThumbs:200,hideTimerBar:"off",thumbWidth:100,thumbHeight:50,thumbAmount:5,spinned:"spinner4",navigationType:"bullet",navigationArrows:"solo",navigationStyle:"round",touchenabled:"on",onHoverStop:"on",lazyLoad:"on",swipe_velocity:.7,swipe_min_touches:1,swipe_max_touches:1,drag_block_vertical:!1,parallax:"scroll",parallaxBgFreeze:"off",parallaxLevels:[10,20,30,40,50,60,70,80,90,100],keyboardNavigation:"off",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,shadow:0,fullWidth:"off",fullScreen:"on",spinner:"spinner4",stopLoop:"off",stopAfterLoops:-1,stopAtSlide:-1,shuffle:"off",autoHeight:"off",forceFullWidth:"off",hideThumbsOnMobile:"off",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResolution:0,hideSliderAtLimit:0,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,startWithSlide:0,fullScreenOffsetContainer:""}),e(".tp-banner-boxedwidth").show().revolution({dottedOverlay:"none",delay:16e3,startwidth:1170,startheight:700,hideThumbs:200,thumbWidth:100,thumbHeight:50,thumbAmount:5,navigationType:"bullet",navigationArrows:"solo",navigationStyle:"preview1",touchenabled:"on",onHoverStop:"on",lazyLoad:"on",swipe_velocity:.7,swipe_min_touches:1,swipe_max_touches:1,drag_block_vertical:!1,parallax:"scroll",parallaxBgFreeze:"off",parallaxLevels:[10,20,30,40,50,60,70,80,90,100],keyboardNavigation:"off",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,shadow:0,fullWidth:"on",fullScreen:"off",spinner:"spinner4",stopLoop:"off",stopAfterLoops:-1,stopAtSlide:-1,shuffle:"off",autoHeight:"off",forceFullWidth:"off",hideThumbsOnMobile:"off",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResolution:0,hideSliderAtLimit:0,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,startWithSlide:0,fullScreenOffsetContainer:""}),e(".tp-banner-boxedfullscreen").show().revolution({dottedOverlay:"none",delay:16e3,startwidth:1170,startheight:700,hideThumbs:200,thumbWidth:100,thumbHeight:50,thumbAmount:5,navigationType:"bullet",navigationArrows:"solo",navigationStyle:"preview1",touchenabled:"on",onHoverStop:"on",lazyLoad:"on",swipe_velocity:.7,swipe_min_touches:1,swipe_max_touches:1,drag_block_vertical:!1,parallax:"scroll",parallaxBgFreeze:"on",parallaxLevels:[10,20,30,40,50,60,70,80,90,100],keyboardNavigation:"off",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,shadow:0,fullWidth:"on",fullScreen:"on",spinner:"spinner4",stopLoop:"off",stopAfterLoops:-1,stopAtSlide:-1,shuffle:"off",autoHeight:"off",forceFullWidth:"off",hideThumbsOnMobile:"off",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResolution:0,hideSliderAtLimit:0,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,startWithSlide:0,fullScreenOffsetContainer:t}),e(".tp-banner-panzoom-fullscreen").show().revolution({dottedOverlay:"none",delay:16e3,startwidth:1170,startheight:700,hideThumbs:200,thumbWidth:100,thumbHeight:50,thumbAmount:5,navigationType:"bullet",navigationArrows:"solo",navigationStyle:"preview4",touchenabled:"on",onHoverStop:"on",lazyLoad:"on",swipe_velocity:.7,swipe_min_touches:1,swipe_max_touches:1,drag_block_vertical:!1,parallax:"scroll",parallaxBgFreeze:"on",parallaxLevels:[10,20,30,40,50,60,70,80,90,100],keyboardNavigation:"off",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,shadow:0,fullWidth:"off",fullScreen:"on",spinner:"spinner4",stopLoop:"off",stopAfterLoops:-1,stopAtSlide:-1,shuffle:"off",autoHeight:"off",forceFullWidth:"off",hideThumbsOnMobile:"off",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResolution:0,hideSliderAtLimit:0,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,startWithSlide:0,fullScreenOffsetContainer:t}),e(".tp-banner-panzoom-fullwidth").show().revolution({dottedOverlay:"none",delay:16e3,startwidth:1170,startheight:700,hideThumbs:200,thumbWidth:100,thumbHeight:50,thumbAmount:5,navigationType:"bullet",navigationArrows:"solo",navigationStyle:"preview4",touchenabled:"on",onHoverStop:"on",lazyLoad:"on",swipe_velocity:.7,swipe_min_touches:1,swipe_max_touches:1,drag_block_vertical:!1,parallax:"scroll",parallaxBgFreeze:"off",parallaxLevels:[10,20,30,40,50,60,70,80,90,100],keyboardNavigation:"off",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,shadow:0,fullWidth:"off",fullScreen:"off",spinner:"spinner4",stopLoop:"off",stopAfterLoops:-1,stopAtSlide:-1,shuffle:"off",autoHeight:"off",forceFullWidth:"off",hideThumbsOnMobile:"off",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResolution:0,hideSliderAtLimit:0,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,startWithSlide:0,fullScreenOffsetContainer:t}),e(".tp-banner-video-fullwidth").show().revolution({dottedOverlay:"none",delay:16e3,startwidth:1170,startheight:700,hideThumbs:200,hideTimerBar:"off",thumbWidth:100,thumbHeight:50,thumbAmount:5,spinned:"spinner4",navigationType:"bullet",navigationArrows:"solo",navigationStyle:"preview4",touchenabled:"on",onHoverStop:"on",lazyLoad:"on",swipe_velocity:.7,swipe_min_touches:1,swipe_max_touches:1,drag_block_vertical:!1,parallax:"scroll",parallaxBgFreeze:"off",parallaxLevels:[10,20,30,40,50,60,70,80,90,100],keyboardNavigation:"off",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,shadow:0,fullWidth:"on",fullScreen:"off",spinner:"spinner4",stopLoop:"off",stopAfterLoops:-1,stopAtSlide:-1,shuffle:"off",autoHeight:"off",forceFullWidth:"off",hideThumbsOnMobile:"off",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResolution:0,hideSliderAtLimit:0,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,startWithSlide:0,fullScreenOffsetContainer:t}),e(".tp-banner-video-fullscreen").show().revolution({dottedOverlay:"none",delay:16e3,startwidth:1170,startheight:700,hideThumbs:200,hideTimerBar:"off",thumbWidth:100,thumbHeight:50,thumbAmount:5,spinned:"spinner4",navigationType:"bullet",navigationArrows:"solo",navigationStyle:"preview4",touchenabled:"on",onHoverStop:"on",lazyLoad:"on",swipe_velocity:.7,swipe_min_touches:1,swipe_max_touches:1,drag_block_vertical:!1,parallax:"scroll",parallaxBgFreeze:"off",parallaxLevels:[10,20,30,40,50,60,70,80,90,100],keyboardNavigation:"off",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,shadow:0,fullWidth:"on",fullScreen:"on",spinner:"spinner4",stopLoop:"off",stopAfterLoops:-1,stopAtSlide:-1,shuffle:"off",autoHeight:"off",forceFullWidth:"off",hideThumbsOnMobile:"off",hideNavDelayOnMobile:1500,hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResolution:0,hideSliderAtLimit:0,hideCaptionAtLimit:0,hideAllCaptionAtLilmit:0,startWithSlide:0,fullScreenOffsetContainer:t}))}(window.jQuery),window.onload=function(){initJumpMenus()},$(".count").each(function(){$(this).prop("Counter",0).animate({Counter:$(this).text()},{duration:4e3,easing:"swing",step:function(e){$(this).text(Math.ceil(e))}})}),$(".tabs-stage div").hide(),$(".tabs-stage div:first").show(),$(".tabs-nav li:first").addClass("tab-active"),$(".tabs-nav a").on("click",function(e){e.preventDefault(),$(".tabs-nav li").removeClass("tab-active"),$(this).parent().addClass("tab-active"),$(".tabs-stage div").hide(),$($(this).attr("href")).show()});